PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

   

Script Objects

Script objects are user-defined objects. Table A-11 summarizes the syntax for defining script objects in AppleScript. For more information about script objects, see Script Objects

Table A-11   Script objects

Script object element

Syntax

Script object definition script [ scriptObjectVariable ]
[(property | prop) propertyLabel : expression ]...
[ handlerDefinition ]...
[ statement ]...
end [ script ]
Continue statement (to pass a command to a handler in the parent script object) continue commandStatement

© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)